package com.mid;

/**
 * Created by Lxk on 2020/2/1.
 */
public class Solution114 {


    private TreeNode preBuildList(TreeNode node) {
        if (node == null) {
            return null;
        }
        TreeNode nextVisit = node.right;
        node.right = preBuildList(node.left);
        preBuildList(nextVisit);
        return node;
    }

    public void flatten(TreeNode root) {

    }

}
